//
//  ReadViewController.m
//  book
//
//  Created by mac on 15-12-4.
//  Copyright (c) 2015年 lee. All rights reserved.
//

#import "ReadViewController.h"
#import "ViewController.h"
@interface ReadViewController ()

{
    UITextView *_textView;
}
@end

@implementation ReadViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
    _textView = [[UITextView alloc]initWithFrame:self.view.bounds];
    _textView.editable = NO;
    _textView.text = self.text;
    _textView.font = [_textView.font fontWithSize:22.0];
    [self.view addSubview:_textView];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
